﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HR.Appointments.Service.DataAccessLayer;

namespace HR.Appointments.Service.Test
{
    public class MockCompanyEntity : ICompanyDAO
    {
        public CompanyEntity GetInstance(int CompanyEntityId)
        {
            return CompanyEntity.Create("3110755519", "Hárgreiðslustofa", "Hár", "", "","", "", "", 0);
        }

        public List<CompanyEntity> GetAll()
        {
            var result = new List<CompanyEntity>();
            var cmp = CompanyEntity.Create("3110755519", "Hárgreiðslustofa", "Hár", "", "","","", "",0);
            result.Add(cmp);
            cmp = CompanyEntity.Create("1712796578", "Hár og klipp", "Hár", "", "","","","",3);
            result.Add(cmp);
            return result;
        }

        #region ICompanyDAO Members


        public void Insert(CompanyEntity company)
        {
            throw new NotImplementedException();
        }

        #endregion

        #region ICompanyDAO Members

        public void Delete(int companyId)
        {
            throw new NotImplementedException();
        }

        #endregion

        #region ICompanyDAO Members


        public CompanyEntity GetCompanyByUser(string username, string password)
        {
            throw new NotImplementedException();
        }

        public void Update(CompanyEntity company)
        {
            throw new NotImplementedException();
        }

        #endregion

        #region ICompanyDAO Members


        public List<CompanyEntity> GetByName(string name)
        {
            throw new NotImplementedException();
        }

        #endregion
    }
}
